home *** CD-ROM | disk | FTP | other *** search
- # charsheet:spells 1.5
- #
- # Copyright 1991, Chris Seabrook
- #
- # This work may be freely used. modified and distributed for non-commercial
- # purposes so long as it retains this notice.
- #
- # spells(level, number)
- .PS
- define spell X
- if nspells>0 then Y
- nspells=nspells-1
- [
- box wid sheetwid/2 ht boxht/2 "$1"
- box wid sheetwid/10 ht boxht/2 "$2"
- box wid sheetwid/10 ht boxht/2 "$3"
- box wid sheetwid/10 ht boxht/2 "$4"
- box wid sheetwid/10 ht boxht/2 "$5"
- box wid sheetwid/10 ht boxht/2 "$6"
- ] with .sw at Nspells.sw + (0, nspells*boxht/2)
- Y
- X
- define spells X
- nspells=$2
- Nspells: [
- box invis wid 3*sheetwid/10 "\f(HB\s+2$1 Level Spells\s0\fP"
- box invis wid sheetwid/10
- box invis wid sheetwid/10 ht boxht/2 with .nw at last box.ne "\f(HBSpell Points\fP"
- box wid sheetwid/10 ht boxht/2 with .nw at last box.sw
- plot (3*$1)+1 at last box
- box invis wid sheetwid/10 "\f(HBCasting" "Time\fP" with .nw at 2nd last box.ne
- box invis wid sheetwid/10 "\f(HBDuration\fP"
- box invis wid sheetwid/10 "\f(HBArea of" "Effect\fP"
- box invis wid sheetwid/10 "\f(HBRange\fP"
- box invis wid sheetwid/10 "\f(HBMemorised\fP"
- for scount=1 to $2 by 1 do Y
- box wid sheetwid/2 ht boxht/2 with .nw at 9th last box.sw
- for sscount=1 to 5 do Z
- box wid sheetwid/10 ht boxht/2
- Z
- for sscount=1 to 3 do Z
- box invis wid sheetwid/10 ht boxht/2 at last box
- Z
- Y
- ] with .n at last box.s + 0,-1*border
- box ht last [].ht+border wid last [].wid+border at last []
- X
- .PE
-